﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Admin/AdminMaster.Master" AutoEventWireup="true" CodeBehind="Manufacturers.aspx.cs" Inherits="SupermarketDemo.Views.Admin.Suppliers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MyContent" runat="server">
    <div class="container-fluid">
    <div class="row">
        <div class="col">
            <h3 class="text-center">生产商管理</h3>
        </div>
    </div>
    <div class="row">
        <div class="col-md-4">
            <div class="mb-3">
                <label for="" class="form-label text-success">生产商名称</label>
                <input type="text" placeholder="" autocomplete="off" class="form-control"  runat="server" id="MNameTb"/>
            </div>
            <div class="mb-3">
                <label for="" class="form-label text-success">生产证号</label>
                <input type="text" placeholder="" autocomplete="off" class="form-control"  runat="server" id="PermNumTb"/>
            </div>
            <div class="mb-3">
                <label for="" class="form-label text-success">生产地址</label>
                <asp:DropDownList ID="PlaceCb" runat="server" class="form-control" >
                    <asp:ListItem>东北</asp:ListItem> 
                    <asp:ListItem>华东</asp:ListItem> 
                    <asp:ListItem>华中</asp:ListItem> 
                    <asp:ListItem>华南</asp:ListItem> 
                    <asp:ListItem>西南</asp:ListItem> 
                    <asp:ListItem>西北</asp:ListItem> 
                    <asp:ListItem>海外</asp:ListItem> 
                </asp:DropDownList>
            </div>
            <div class="row">
                <asp:Label runat="server" ID="ErrMsg" class="text-bg-danger text-center"></asp:Label>
                <div class="col-md-4">
                    <asp:Button Text="编辑" runat="server" ID="EditBtn" Class="btn-warning btn-block btn" Width="100px" OnClick="EditBtn_Click" /></div>
                <div class="col-md-4">
                    <asp:Button Text="保存" runat="server" ID="SaveBtn" Class="btn-success btn-block btn" Width="100px" OnClick="SaveBtn_Click" /></div>
                <div class="col-md-4">
                    <asp:Button Text="删除" runat="server" ID="DeleteBtn" Class="btn-danger btn-block btn" Width="100px" OnClick="DeleteBtn_Click" /></div>
            </div>
        </div>
        <div class="col-md-8">
            <asp:GridView ID="ManufactList" runat="server" class="table"  OnSelectedIndexChanged="ManufactList_SelectedIndexChanged" AutoGenerateSelectButton="True">
<%--                <AlternatingRowStyle BackColor="White" />
                <EditRowStyle BackColor="#7C6F57" />
                <FooterStyle BackColor="teal" Font-Bold="ture" ForeColor="White" />
                <HeaderStyle BackColor="teal" Font-Bold="false" ForeColor="White" />
                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#e3eaeb" />
                <SelectedRowStyle BackColor="#c5bbaf" Font-Bold="true" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#f8fafa" />
                <SortedAscendingHeaderStyle BackColor="#246b61" />
                <SortedDescendingCellStyle BackColor="#d4dfe1" />
                <SortedDescendingHeaderStyle BackColor="#15524a" />--%>
            </asp:GridView>
        </div>
    </div>
</div>
</asp:Content>
